package com.antball.dd.mediator;

public class ConcreteColleagueB extends Colleague {
    @Override
    public void sendmsg(int toWho, String str) {
        System.out.println("send msg from colleagueB,to:" + toWho );
        m_pMediator.operation(toWho,str);
    }

    @Override
    public void receivemsg(String str) {
        System.out.println("ConcreteColleagueB reveivemsg:" + str);
    }
}
